using StructureMap;

namespace behaviors.Controllers
{
    [UseTransaction]
    public class HomeController
    {
        private readonly IContainer container;

        public HomeController(IContainer container)
        {
            this.container = container;
        }

        public HomeOutputModel Start(HomeInputModel input)
        {
            return new HomeOutputModel{whatdoihave = container.WhatDoIHave()};
        }
    }

    public class HomeInputModel
    {
    }

    public class HomeOutputModel
        : IFooter
    {
        public string whatdoihave { get; set; }
        public string FooterText { get; set; }
    }
}